Supplementary Materials
Manuscript ID: applsci-4454246
Article title: Information hiding in QR code images via module content modification based on corner-pixel grayscale adjustment
Authors: Da-Chun Wu and Yuan-Ming Wu

1. Purpose
These supplementary materials provide the QR-code test-image set used for the quantitative experiments, random seeds, experimental configurations, numerical experimental results, raw runtime measurements, and concise code excerpts documenting the pseudorandom procedures used in the reported experiments. They are intended to support reproducibility and to document the conditions associated with the manuscript results.

2. Package contents
applsci-4454246_Supplementary_README.txt
    This file.

applsci-4454246_Supplementary_Experimental_Data.xlsx
    A workbook containing five worksheets:
    (1) Image_Manifest
        Lists the 48 supplied BMP image files representing 24 distinct QR-code cases, their image IDs, file names, QR-code versions, error-correction levels, module side lengths, encoded data, and the manuscript sections in which they were used.
    (2) Seed_Manifest
        Lists the random seeds used in the reported experiments.
    (3) Experimental_Configurations
        Lists the experimental protocols corresponding to Sections 4.1, 4.2, and 4.4–4.7.
    (4) Experimental_Results
        Provides machine-readable numerical results corresponding to the embedding-capacity/rate evaluation, runtime evaluation, image-quality evaluations, barcode-reader readability tests, random-noise extraction tests, and readability tests at the observed highest tolerable noise rates. For the runtime evaluation, both the mean runtime per execution and the sample standard deviation are reported.
    (5) Runtime_Raw_Data
        Provides the 20 runtime-per-execution estimates for each of the 48 runtime cases used to compute the corresponding mean and sample standard deviation reported in Experimental_Results.

applsci-4454246_Supplementary_Randomization_Procedures.docx
    Provides concise C code excerpts and explanatory notes documenting:
    (1) pseudorandom binary message-bit generation;
    (2) raster-scan and pseudorandom-permutation visiting orders for module-corner pixels; and
    (3) pseudorandom pixel-flipping noise generation.
    The document also notes the implementation dependence of the standard C rand() function across different C library/runtime environments.

Test_QR_Code_Images/
    Contains 48 BMP image files representing 24 distinct QR-code cases:
    six QR-code versions (1, 5, 10, 20, 30, and 40)
    × four error-correction levels (L, M, Q, and H),
    with each case rendered using two module side lengths (w = 4 and w = 8).

The 48-image set corresponds to the quantitative experimental image set documented in Sections 4.1, 4.2, and 4.4–4.7. Specially prepared illustrative images outside this quantitative set are not included in the Image_Manifest.

3. Image naming convention
Example:
    QR_05H_4X4.bmp

Interpretation:
    05  = QR-code version 5
    H   = error-correction level H
    4X4 = each QR-code module is represented by 4 × 4 pixels

The Image_Manifest worksheet provides the corresponding Image ID and encoded QR-code content for every supplied image.

4. Image representation and quiet-zone handling
For clearer viewing, each supplied QR-code image includes a white quiet zone one module wide around the QR-code symbol. This added border is not treated as part of the QR-code symbol in the reported experiments. Before actual message embedding and before calculating PSNR, SSIM, or VIFp, the one-module-wide quiet zone is excluded; these operations are applied only to the QR-code symbol region.

5. Random seeds
The Seed_Manifest worksheet records the following seeds:
    S-PERM  = 1
        Used to generate the pseudorandom permutation of module-corner indices.
    S-NOISE = 101
        Used to generate random pixel-flipping noise.
    S-BITS  = 123
        Used to generate random binary secret bits.

The experimental programs used the standard C srand()/rand() mechanism for the listed pseudorandom operations. These seeds document the realizations used in the reported experiments. Because the C standard does not require rand() to generate identical sequences across different implementations, exact cross-platform reproduction requires the same explicitly specified pseudorandom-number generator and corresponding procedure in addition to the same seed.

6. Main experimental conventions
Section 4.1 / Table 2:
    The embedding-capacity experiment used random binary message bits and continued until the available embedding capacity was exhausted. Table 2 reports the pseudorandom-permutation results. A reproduction run used kb = kw = 20.

Section 4.2 / Figure 9:
    Runtime measurements used kb = kw = 20, pseudorandom-permutation visiting order, and random binary message bits embedded to full capacity. For each experimental case, Algorithm 1 was executed 100 consecutive times, and the total elapsed time was divided by 100 to obtain one estimate of the runtime per execution. This measurement procedure was independently repeated 20 times, yielding 20 runtime-per-execution estimates for each case. The mean and sample standard deviation (SD) of these 20 estimates are reported in the Experimental_Results worksheet, and the 20 individual estimates are provided in the Runtime_Raw_Data worksheet.

Section 4.4 / Figures 11–13:
    The fixed text message "Password: Love & Peace." was repeatedly embedded until the available embedding capacity was exhausted. Raster-scan visiting order was used. The objective image-quality set contains 40 stego-images generated from eight cover images under five equal parameter settings, kb = kw = 25, 50, 75, 100, and 125. The quiet zone was excluded before calculating PSNR, SSIM, and VIFp.

Section 4.4 / Figures 14–15:
    The black-module-only and white-module-only cases were included solely for visual and objective image-quality comparison and were not used for hidden-message recovery evaluation. The inactive module color is therefore reported as N/A rather than as an embedding-change parameter of zero.

Section 4.5 / Table 3:
    Raster-scan visiting order was used, and "Password: Love & Peace." was repeatedly embedded to the available capacity for the selected modification condition. In this barcode-reader experiment, the black-module-only and white-module-only cases were used solely for QR-code readability evaluation. Hidden-message recovery before printing was evaluated for the corresponding digital stego-images generated by embedding into both black and white modules.

Section 4.6 / Figure 16 and Table 4:
    Only both-black-and-white-module embedding was used. Random black↔white pixel-flipping noise was added cumulatively, starting at 0.1% of the image pixels and increasing in 0.1% increments until message extraction failed. The reported values are the observed highest tolerable noise rates for the tested random-noise realizations and are not statistically established universal thresholds.

Section 4.7 / Table 5:
    Readability was evaluated using the same noisy-image realizations associated with the corresponding Section 4.6 experiments; new noise realizations were not generated for Section 4.7.

7. Embedding-change parameters
In the proposed method, kb and kw are positive embedding-change parameters in the range 1–127. A value of zero is not part of the defined parameter range. One-sided black-module-only and white-module-only cases are comparative modification conditions and should not be interpreted as setting the other embedding-change parameter to zero.

8. Source-code scope
The complete legacy source code is not included in this supplementary package. The original experimental implementation was developed as an internal research prototype before the computational procedures were reorganized and presented as Algorithms 1–5 in the manuscript. Its structure and control flow therefore do not correspond directly, line by line, to the current algorithmic presentation.

To support reproducibility without implying a line-by-line correspondence to the complete legacy implementation, concise C code excerpts for the pseudorandom procedures are provided in applsci-4454246_Supplementary_Randomization_Procedures.docx. Further implementation information may be requested from the corresponding author.

9. Contact
Corresponding author:
Da-Chun Wu
Department of Computer and Communication Engineering
National Kaohsiung University of Science and Technology, Taiwan
E-mail: dcwu@nkust.edu.tw
